import { legacy_createStore as createStore,applyMiddleware } from 'redux'
import { thunk } from 'redux-thunk'
import {rootReducers} from './reducers/msgReducer'

const store = createStore(rootReducers,applyMiddleware(thunk))

export default store